<#assign s=JspTaglibs["/WEB-INF/tld/struts-tags.tld"] />
<div class="pageContent">
	<form method="post" action="${request.contextPath}/privilage/employeeEdit.htm" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent nowrap" layoutH="56">
			<dl>
				<dt>员工编号：</dt>
				<dd>
					<input id="employeeDto.employeeCode" name="employeeDto.employeeCode" type="text" class="required" size="30" value="${employeeDto.employeeCode?default('')}"/>
					<input id="employeeDto.employeeId" name="employeeDto.employeeId" type="hidden" value="${employeeDto.employeeId?default('')}"/>
				</dd>
			</dl>
			<dl>
				<dt>员工姓名：</dt>
				<dd>
					<input id="employeeDto.employeeName" name="employeeDto.employeeName" class="required" type="text" size="30" value="${employeeDto.employeeName?default('')}"/>
				</dd>
			</dl>
			<dl>
				<dt>组织名称：</dt>
				<dd>
					<select id="employeeDto.organizationDto.organizationId" name="employeeDto.organizationDto.organizationId">
						<#if allOrganizationList?exists>
							<#list allOrganizationList as organizationDto>
								<#if employeeDto.organizationDto?exists&&employeeDto.organizationDto.organizationId?exists>
									<#if organizationDto.organizationId?exists&&employeeDto.organizationDto.organizationId.equals(organizationDto.organizationId)>
										<option value="${organizationDto.organizationId?default('')}" selected="selected">${organizationDto.organizationName?default('')}</option>
									<#else>
										<option value="${organizationDto.organizationId?default('')}">${organizationDto.organizationName?default('')}</option>
									</#if>
								<#else>
									<option value="${organizationDto.organizationId?default('')}">${organizationDto.organizationName?default('')}</option>
								</#if>
							</#list>
						</#if>
					</select>
				</dd>
			</dl>
			<dl>
				<dt>职位名称：</dt>
				<dd>
					<select id="employeeDto.positionDtos.positionId" name="employeeDto.positionDtos.positionId" multiple="multiple" size="5">
						<#if allPositionList?exists>
							<#list allPositionList as positionDto>
								<#if employeeDto.positionDtos?exists&&employeeDto.positionDtos? size gt 0>
									<#list employeeDto.positionDtos as selectPositionDto>
										<#if selectPositionDto?exists&&selectPositionDto.positionId.equals(positionDto.positionId)>
											<option value="${positionDto.positionId?default('')}" selected="selected">${positionDto.positionName?default('')}</option>
										<#else>
											<option value="${positionDto.positionId?default('')}">${positionDto.positionName?default('')}</option>
										</#if>
									</#list>
								<#else>
									<option value="${positionDto.positionId?default('')}">${positionDto.positionName?default('')}</option>
								</#if>
							</#list>
						</#if>
					</select>
				</dd>
			</dl>
			<dl>
				<dt>办公电话：</dt>
				<dd>
					<input id="employeeDto.officeTel" name="employeeDto.officeTel" value="${employeeDto.officeTel?default('')}" type="text" size="30" alt="请输入数字"/>
				</dd>
			</dl>
			<dl>
				<dt>办公手机：</dt>
				<dd>
					<input id="employeeDto.officePhone" name="employeeDto.officePhone" value="${employeeDto.officePhone?default('')}" type="text" size="30" alt="请输入数字"/>
				</dd>
			</dl>
			<dl>
				<dt>办公Email：</dt>
				<dd>
					<input id="employeeDto.officeEmail" name="employeeDto.officeEmail" value="${employeeDto.officeEmail?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>个人电话：</dt>
				<dd>
					<input id="employeeDto.personalTel" name="employeeDto.personalTel" value="${employeeDto.personalTel?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>个人手机：</dt>
				<dd>
					<input id="employeeDto.personalPhone" name="employeeDto.personalPhone" value="${employeeDto.personalPhone?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>个人Email：</dt>
				<dd>
					<input id="employeeDto.personalEmail" name="employeeDto.personalEmail" value="${employeeDto.personalEmail?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>身份证：</dt>
				<dd>
					<input id="employeeDto.idCard" name="employeeDto.idCard" value="${employeeDto.idCard?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>生日：</dt>
				<dd>
					<input id="employeeDto.birthday" name="employeeDto.birthday" value="${employeeDto.birthday?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>学历：</dt>
				<dd>
					<input id="employeeDto.education" name="employeeDto.education" value="${employeeDto.education?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>爱好：</dt>
				<dd>
					<input id="employeeDto.hobby" name="employeeDto.hobby" value="${employeeDto.hobby?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>特长：</dt>
				<dd>
					<input id="employeeDto.specialty" name="employeeDto.specialty" value="${employeeDto.specialty?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>邮编：</dt>
				<dd>
					<input id="employeeDto.zipCode" name="employeeDto.zipCode" value="${employeeDto.zipCode?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>激活时间：</dt>
				<dd>
					<input id="employeeDto.regeditDate" name="employeeDto.regeditDate" value="${employeeDto.regeditDate?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>创建时间：</dt>
				<dd>
					<input id="employeeDto.createTime" name="employeeDto.createTime" value="${employeeDto.createTime?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>修改时间：</dt>
				<dd>
					<input id="employeeDto.lastModifyTime" name="employeeDto.lastModifyTime" value="${employeeDto.lastModifyTime?default('')}" type="text" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>家庭地址：</dt>
				<dd>
					<textarea id="employeeDto.homeAddress" name="employeeDto.homeAddress" value="${employeeDto.homeAddress?default('')}" cols="80" rows="1" name="source"></textarea>
				</dd>
			</dl>
			<dl>
				<dt>个人履历：</dt>
				<dd>
					<textarea id="employeeDto.training" name="employeeDto.training" value="${employeeDto.training?default('')}" cols="80" rows="5" name="source"></textarea>
				</dd>
			</dl>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="reset">重置</button></div></div> </li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div> </li>
			</ul>
		</div>
	</form>
</div>
